package com.arpa.wms.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 打包计费方式
 * </p>
 *
 * @author rfwang
 * @since 2021-06-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_pack_billing_method")
@ApiModel(value="PackBillingMethod对象", description="打包计费方式")
public class PackBillingMethod  extends BasicEntity{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "所属机构code")
    @TableField("group_code")
    private String groupCode;

    @ApiModelProperty(value = "仓库")
    @TableField("warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库名称")
    @TableField("warehouse_name")
    private String warehouseName;

    @ApiModelProperty(value = "作业人标识")
    @TableField("party_code")
    private String partyCode;

    @ApiModelProperty(value = "作业人名称")
    @TableField("staff_name")
    private String staffName;

    @ApiModelProperty(value = "用工类型")
    @TableField("employment_type")
    private String employmentType;

    @ApiModelProperty(value = "作业人电话")
    @TableField("staff_phone")
    private String staffPhone;

    @ApiModelProperty(value = "作业日期")
    @TableField("job_time")
    private String jobTime;

    @ApiModelProperty(value = "计费方式:days天, hours工时, pieces件")
    @TableField("billing_method")
    private String billingMethod;

    @ApiModelProperty(value = "计费单价")
    @TableField("billing_price")
    private BigDecimal billingPrice;

    @ApiModelProperty(value = "劳务外包方")
    @TableField("outsourcer")
    private String outsourcer;
}
